package com.ysd.lis.entity.cri;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>
 * 设备管理-设备类型
 * </p>
 *
 * @author prs
 * @since 2025-02-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("CRI_TEMPLATE_DESC")
@Entity
@Table(name = "CRI_TEMPLATE_DESC")
public class CriTemplateDesc extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;
    /**
     * 内容类型
     */
    @Column(name = "DESC_TYPE")
    @TableField("DESC_TYPE")
    private String descType;
    /**
     * 编码
     */
    @Column(name = "DESC_CODE")
    @TableField("DESC_CODE")
    private String descCode;

    /**
     * 名称
     */
    @Column(name = "DESC_NAME")
    @TableField("DESC_NAME")
    private String descName;
    /**
     * 内容
     */
    @Column(name = "DESC_TEXT")
    @TableField("DESC_TEXT")
    private String descText;

    /**
     * 是否启用：1是 0否
     */
    @Column(name = "IS_ENABLE")
    @TableField("IS_ENABLE")
    private Integer isEnable;

    /**
     * 序号
     */
    @Column(name = "SEQ")
    @TableField("SEQ")
    private Integer seq;

}
